package com.hnevc.blojsystem;

import java.util.ArrayList;

public class BlogSystem {
	
	private ArrayList<Blog> blogList;
	private String name;
	public ArrayList<Blog> getBlogList() {
		return blogList;
	}
	public void setBlogList(ArrayList<Blog> blogList) {
		this.blogList = blogList;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public void addBlog(Blog blog){
		blogList.add(blog);
	}
	public Blog getBlog(int index){
		return blogList.get(index);
	}
}
